x86: force suitable alignment in sources rather than in linker script
authorJan Beulich <jbeulich@suse.com>
Mon, 15 Aug 2016 08:41:48 +0000 (10:41 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Aug 2016 08:41:48 +0000 (10:41 +0200)
commit01fe4da6243be692b972de4ec7b22ec92527c0f5
treed813e4d2c50651d2a631df7e37438f1e506f9184
parent0159ded211fa4fbb9934eb222148442921789816
x86: force suitable alignment in sources rather than in linker script

Besides being more logical this also allows verifying correct recording
of alignments in .o files.

The cpu0_stack related ASSERT() in xen.lds.S is now of questionable
value (as it now verifies correct tool chain behavior), but I've left
it in nevertheless.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm.c
xen/arch/x86/setup.c
xen/arch/x86/xen.lds.S
xen/include/xen/compiler.h